fix: session state persistence in sequential agent pipelines#196
fix: session state persistence in sequential agent pipelines#196l33tdawg wants to merge 10 commits into
Conversation
…g EnhancedStateDict
…or key existence using __contains__
|
@DeanChensj to help take a look to see if this aligns with your design. |
|
@l33tdawg thank you so much for the PR :) Sorry for the late reply. could you please resolve conflicts ? |
|
Sure man - let me take a look this weekend |
… persistence enhancements
|
Done @seanzhou1023 |
|
Hi @l33tdawg and thanks to everyone who participated in this thread. We're currently doing some housekeeping on our pull request queue. Given the rapid pace of development and the number of updates since this was last active, there's a good chance this pull request needs to be caught up to the latest version. To help us keep our backlog focused on current pull requests, we are closing this as stale. If you're still interested in contributing to this change, could you please update to the very latest version of the library and create a new pull request? Our team will be glad to help with the refreshed PRs and answer any questions! Thanks for your contribution and understanding!” |
|
No worries guys - I just checked out the latest version and indeed this
code change I proposed is stale as the latest version already addressed
session persistence between agents etc
Regards,
…--
Dhillon Andrew Kannabhiran,
Founder/Chief Executive Officer,
Hack In The Box
36th Floor, Menara Maxis,
Kuala Lumpur City Centre
50088 Kuala Lumpur
Malaysia
Tel: +603-2615-7299
Fax: +603-2615-0088
PGP Key ID: 0xE3B257C4
http://www.hackinthebox.org
http://news.hackinthebox.org
http://forum.hackinthebox.org
http://conference.hackinthebox.org
http://photos.hackinthebox.org
On 03/10/2025 07:22, Rohit Yanamadala wrote:
*ryanaiagent* left a comment (google/adk-python#196) <https://
github.com/google/adk-python/pull/196#issuecomment-3363594877>
Hi @l33tdawg <https://github.com/l33tdawg> and thanks to everyone who
participated in this thread.
We're currently doing some housekeeping on our pull request queue. Given
the rapid pace of development and the number of updates since this was
last active, there's a good chance this pull request needs to be caught
up to the latest version. To help us keep our backlog focused on current
pull requests, we are closing this as stale.
If you're still interested in contributing to this change, could you
please update to the very latest version of the library and create a new
pull request? Our team will be glad to help with the refreshed PRs and
answer any questions!
Thanks for your contribution and understanding!”
—
Reply to this email directly, view it on GitHub <https://github.com/
google/adk-python#196#issuecomment-3363594877>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/
AD6WM5FFYUNX7WYJ4ODEATL3VWXUPAVCNFSM6AAAAAB3ERTYUGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTGNRTGU4TIOBXG4>.
You are receiving this because you were mentioned.Message ID: <google/
***@***.***>
|
This PR addresses a critical issue in the ADK where session state isn't properly persisted between agent transitions in sequential pipelines. It introduces an EnhancedStateDict implementation with global cache synchronization to ensure critical state values persist even when session objects are copied or recreated.